<!DOCTYPE html>
<html>
   <head>
      <meta charset="UTF-8">
      <style>
         .main-container {
         font-family: SF-UI-Text-Regular;
         width: 13cm;
         margin: 0 auto;			
         padding: 20px;
         background-color: #D3D3D3;
         }
         .float-left {
         float: left;
         }
         .float-right {
         float: right;
         }
         .section {
         /*border: 1px solid #CCC;*/
         /*padding: 20px;*/
         border-Top: 1px solid #D3D3D3;
         padding-Top: 13px;
         margin-bottom: 16px;
         margin-Top: 20px;
         }
         .section-details p {
         color: #126089;
         /*font-size: 16px;*/
         }
         .grouper {
         overflow: hidden;
         }	
         .grid-50 {
         width: 47%;
         }	
         @font-face {
         font-family: 'SF-UI-Text-Regular'; 
         src: url("https://s3-ap-southeast-1.amazonaws.com/content.staging.whitecoat.global/PDF/Templates/fonts/SF-UI-Text-Regular.otf");
         font-style: normal;
         }
         h1 {
         font-size: 22px;
         font-family: 'SF-UI-Text-Regular';			
         }
         .h1-main {
         margin-top: 90px;
         }
         p { 
         margin: 0 0 10px 0; 
         font-family: 'SF-UI-Text-Regular';			
         font-size: 15px;
         }
         .p-spec {
         color: #149a9a;
         font-weight: bold;
         }
         .margin-b-30 {
         margin-bottom: 30px;
         }
         .text-right{
         text-align:right;
         }
      </style>
   </head>
   <body>
      <div class="main-container">
         <div style="display:[Visible];margin-bottom: 10px">
<#--            <p style='font-weight: bold'>[In_Partnership_With_Text]</p>-->
            <p style='font-weight: bold'>In Partnership With</p>
            <img src="https://s3-ap-southeast-1.amazonaws.com/content.staging.whitecoat.global/PDF/Templates/Images/logo_whitecoat_v2.png">
         </div>
         <div style="background-color: #fff;padding: 20px;">
            <div class="main-header grouper">
               <div style="margin-bottom: 13px">
                  <img style="max-width:250px;max-height: 150px;margin-bottom: 13px"  src="${data.doctorClinicLogo}" class="float-left">
                  <div class="float-right text-right">
                     <h1>Medical<br>Certificate</h1>
                  </div>
                  <div style="padding-top: 13px; border-Top: 1px solid #D3D3D3;clear: both;clear: both;display:[Visible_Patient_Clinic]"></div>
                  <img  style="max-width:250px;max-height: 150px;display:[Visible_Patient_Clinic]" src="${data.patientClinicLogo}">
               </div>
            </div>
            <div class="main-body">
               <div class="grouper">
                  <div class="grouper" style="padding-top: 13px;border-Top: 1px solid #D3D3D3;">
                     <div class="grid-30 float-left" style="margin-right: 15px;">
                        <P>${data.idNoText!}:</P>
                        <P>${data.nameText!}:</P>
                        <P>${data.visitDateText!}:</P>
                        <P>${data.certificateNoText!}:</P>
                        <P>${data.noteText!}:</P>
                     </div>
                     <div style="display:table;vertical-align: top">
                        <P><strong>${data.idNo!}</strong></P>
                        <P><strong>${data.name!}</strong></P>
                        <P><strong>${data.visitDate!}</strong></P>
                        <P><strong>${data.certificateNo!}</strong></P>
                        <P>${data.note!}</P>
                     </div>
                  </div>
                  <div class="section" style="border-Top: 1px solid #D3D3D3;display:[Visible_Country_Remark]">
                       <div style="text-align:left;"> <p>["Country_Remark_Value-TODO：不知道干啥的"]</p></div>
                  </div>
                  <div class="section" style="border-Top: 1px solid #D3D3D3;display:[Visible_No_Patient_Clinic]">
                     <p><strong>${data.patientClinicName!}</strong><br>${data.patientClinicAddress!}</p>
                  </div>
                  <div class="section">
                     ${data.sickLetterNote!}
                  </div>
                  <div class="section" style="margin-bottom: 0px;">
                     <img style="margin-bottom: 10px;" src="${data.doctorImg}" width="150"><br>
                     <p style="margin-bottom: 10px;">${data.doctorName!}<br><span style="display:[Visible_MCR_No];">${data.mcrNoText!}: ${data.mcrNo!}</span></p>
                     <br>
                     <p style="margin-bottom: 10px;">[SICK_LETTER_NOTE_1,todo:第二个病假条？不知道是干嘛的]</P>
                     <br> 
                     <p style="margin-bottom: 0px;">${data.currentDate!}</P>
                  </div>
               </div>
            </div>
         </div>
         <div style="padding: 20px 0 0 20px;color: #696969">${data.doctorClinicAddress!}</div>
         <div style="padding: 20px 0 0 20px;color: #696969;display:[Visible_Pharmacy_Address];">201 Henderson Road | Apex @ Henderson | #05-11/12 | Singapore 159545 | T: +65 6909 6609 | F: +65 6909 6606 | E: contactus@whitecoat.global</div>
      </div>
   </body>
</html>